﻿using System;
using System.Collections.Generic;
using Dogshow.Model.Validation;
using FluentValidation.Attributes;

namespace Dogshow.Model
{
    [Validator(typeof(IzlozbaValidator))]
    public class Izlozba
    {
        public Izlozba()
        {
            Titule = new List<Titula>();
        }

        public KinoloskoDrustvo Organizator { get; set; }
        public int Id { get; set; }
        public string NazivIzlozbe { get; set; }
        public string Opis { get; set; }
        public DateTime Datum { get; set; }
        public DateTime? RokPrijave { get; set; }
        public string ProgramIzlozbe { get; set; }
        public int? IdOrganizatora { get; set; }
        public string Mesto { get; set; }
        public decimal? Latituda { get; set; }
        public decimal? Longituda { get; set; }
        public IList<Titula> Titule { get; set; }
        public bool Zavrsena { get; set; }

    }
}